import { processDev } from '@/contract/index'
export const getChain = (chainId: string) => {
    if (processDev) {
        return [{
            chainId: chainId,
            chainName: '币安测试',
            nativeCurrency:
            {
                name: 'BNB',
                symbol: 'BNB',
                decimals: 18
            },
            rpcUrls: ['https://data-seed-prebsc-1-s2.binance.org:8545/'],
            blockExplorerUrls: ['https://bscscan.com/'],
        }]
    } else {
        return [{
            chainId: chainId,
            chainName: '币安智能链',
            nativeCurrency:
            {
                name: 'BNB',
                symbol: 'BNB',
                decimals: 18
            },
            rpcUrls: ['https://bsc-dataseed3.defibit.io/'],
            blockExplorerUrls: ['https://bscscan.com/'],
        }]
    }
}